package com.atguigu.gulimallflow.service.impl;

import org.springframework.stereotype.Service;
import java.util.Map;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import utils.PageUtils;
import utils.Query;

import com.atguigu.gulimallflow.dao.ActCmmnDeploymentDao;
import com.atguigu.gulimallflow.entity.ActCmmnDeploymentEntity;
import com.atguigu.gulimallflow.service.ActCmmnDeploymentService;


@Service("actCmmnDeploymentService")
public class ActCmmnDeploymentServiceImpl extends ServiceImpl<ActCmmnDeploymentDao, ActCmmnDeploymentEntity> implements ActCmmnDeploymentService {

    @Override
    public PageUtils queryPage(Map<String, Object> params) {
        IPage<ActCmmnDeploymentEntity> page = this.page(
                new Query<ActCmmnDeploymentEntity>().getPage(params),
                new QueryWrapper<ActCmmnDeploymentEntity>()
        );

        return new PageUtils(page);
    }

}
